package com.cj.Fish;

import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;

public class Flash {
	
	private int id;
	private Bitmap bmp;
	private  Paint p;

	public Flash(int id,Bitmap bmp,Paint p) 
	{
		this.id = id;
		this.bmp = bmp;
		this.p = p;
		
	}	
	public void onDraw(Canvas canvas,int xM,int yM){
		
		canvas.drawBitmap(bmp, xM,yM, p);
	}
	
	public int getId()
	{
		return id;
	}

}
